package com.dksidana.java.jdbc.core;

import java.sql.SQLException;

public interface QueryRunner {

	public <T> T executeQuery(String query,ResultSetHandler<T> rsh) throws SQLException;
	/*public <T> T executeQuery(String query,ResultSetHandler<T> rsh,PreparedStatementHandler psh) throws SQLException;
	public boolean executeUpdate(String query) throws SQLException;
	public boolean executeUpdate(String query,PreparedStatementHandler psh) throws SQLException;*/
}
